﻿/*---------------------------------------------------------------------------------
-----------------***DaLianQianYi***-----------------------
-----------------作者：大连仟亿科技------------------------------------------------------
-----------------联系作者：www.qianyikeji.com----------------------------------
-----------------时间：2018/8/9 13:54:37------------------------------------------
----------------------------------------------------------------------------------*/


using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Donal.Xms.Model
{
    /// <summary>
    /// cash_flow实体
    /// </summary>
    [Serializable]
    public partial class cash_flow
    {
        public cash_flow()
        { }

        #region Model

        private int _id = 0;
        private string _company_code = string.Empty;
        private string _company = string.Empty;
        private string _company_group = string.Empty;
        private string _company_type = string.Empty;
        private string _order_no = string.Empty;
        private string _operators = string.Empty;
        private string _cash_from = string.Empty;
        private decimal _cash_up = 0;
        private decimal _cash_middle = 0;
        private decimal _cash_down = 0;
        private DateTime? _add_time = null;
        private string _remark = string.Empty;
        private int _flow_category = 0;

      
        /// <summary>
        ///  流类型 0现金 1积分 2月结
        /// </summary>
        public int flow_category
        {
            set { _flow_category = value; }
            get { return _flow_category; }
        }
        /// <summary>
        ///  现金流水ID
        /// </summary>
        public int id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        ///  会员编号
        /// </summary>
        public string company_code
        {
            set { _company_code = value; }
            get { return _company_code; }
        }
        /// <summary>
        ///  会员简称	
        /// </summary>
        public string company
        {
            set { _company = value; }
            get { return _company; }
        }
        /// <summary>
        ///  会员等级
        /// </summary>
        public string company_group
        {
            set { _company_group = value; }
            get { return _company_group; }
        }
        /// <summary>
        ///  会员类型
        /// </summary>
        public string company_type
        {
            set { _company_type = value; }
            get { return _company_type; }
        }
        /// <summary>
        ///  订单号
        /// </summary>
        public string order_no
        {
            set { _order_no = value; }
            get { return _order_no; }
        }
        /// <summary>
        ///  操作员
        /// </summary>
        public string operators
        {
            set { _operators = value; }
            get { return _operators; }
        }
        /// <summary>
        ///  资金来源
        /// </summary>
        public string cash_from
        {
            set { _cash_from = value; }
            get { return _cash_from; }
        }
        /// <summary>
        ///  期初
        /// </summary>
        public decimal cash_up
        {
            set { _cash_up = value; }
            get { return _cash_up; }
        }
        /// <summary>
        ///  新增
        /// </summary>
        public decimal cash_middle
        {
            set { _cash_middle = value; }
            get { return _cash_middle; }
        }
        /// <summary>
        ///  期末
        /// </summary>
        public decimal cash_down
        {
            set { _cash_down = value; }
            get { return _cash_down; }
        }
        /// <summary>
        ///  添加时间
        /// </summary>
        public DateTime? add_time
        {
            set { _add_time = value; }
            get { return _add_time; }
        }
        /// <summary>
        ///  备注
        /// </summary>
        public string remark
        {
            set { _remark = value; }
            get { return _remark; }
        }


        #endregion
    }
}


